/*
 * Copyright [duowan.com]
 * Web Site: http://www.duowan.com
 * Since 2005 - 2014
 */

package com.duowan.realtime.dao;

import java.util.List;

import com.duowan.common.util.page.Page;
import com.duowan.realtime.model.OverviewComputingGroup;
import com.duowan.realtime.query.OverviewComputingGroupQuery;

/**
 * tableName: overview_computing_group
 * [OverviewComputingGroup] 的Dao操作
 * 
 * @author badqiu email:badqiu(a)gmail.com
 * @version 1.0
 * @since 1.0
*/
public interface OverviewComputingGroupDao {
	
	public void insert(OverviewComputingGroup entity);
	
	public int update(OverviewComputingGroup entity);

	public int deleteById(String computingGroup, String partition);
	
	public OverviewComputingGroup getById(String computingGroup, String partition);
	
	public List<OverviewComputingGroup> getAll();
	
	public Page<OverviewComputingGroup> findPage(OverviewComputingGroupQuery query);	
	
}
